package com.ruoyi.problemrecord.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备维修记录2对象 eas_problemrecord
 * 
 * @author ruoyi
 * @date 2025-04-03
 */
public class EasProblemrecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String ID;

    /** 问题单号 */
    @Excel(name = "问题单号")
    private String ProblemNo;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String equipmentNo;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String EquipmentName;

    /** 问题 */
    @Excel(name = "问题")
    private String Problemphenomenon;

    /** 解决方案 */
    @Excel(name = "解决方案")
    private String solution;

    /** 问题发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "问题发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date PROblemBeginTime;

    /** 问题完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "问题完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishtime;

    public void setID(String ID) 
    {
        this.ID = ID;
    }

    public String getID() 
    {
        return ID;
    }
    public void setProblemNo(String ProblemNo) 
    {
        this.ProblemNo = ProblemNo;
    }

    public String getProblemNo() 
    {
        return ProblemNo;
    }
    public void setEquipmentNo(String equipmentNo) 
    {
        this.equipmentNo = equipmentNo;
    }

    public String getEquipmentNo() 
    {
        return equipmentNo;
    }
    public void setEquipmentName(String EquipmentName) 
    {
        this.EquipmentName = EquipmentName;
    }

    public String getEquipmentName() 
    {
        return EquipmentName;
    }
    public void setProblemphenomenon(String Problemphenomenon) 
    {
        this.Problemphenomenon = Problemphenomenon;
    }

    public String getProblemphenomenon() 
    {
        return Problemphenomenon;
    }
    public void setSolution(String solution) 
    {
        this.solution = solution;
    }

    public String getSolution() 
    {
        return solution;
    }
    public void setPROblemBeginTime(Date PROblemBeginTime) 
    {
        this.PROblemBeginTime = PROblemBeginTime;
    }

    public Date getPROblemBeginTime() 
    {
        return PROblemBeginTime;
    }
    public void setFinishtime(Date finishtime) 
    {
        this.finishtime = finishtime;
    }

    public Date getFinishtime() 
    {
        return finishtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("ProblemNo", getProblemNo())
            .append("equipmentNo", getEquipmentNo())
            .append("EquipmentName", getEquipmentName())
            .append("Problemphenomenon", getProblemphenomenon())
            .append("solution", getSolution())
            .append("PROblemBeginTime", getPROblemBeginTime())
            .append("finishtime", getFinishtime())
            .toString();
    }
}
